projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
949b810
)
(Info-find-node): Once again, use byte-to-position.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 4 Aug 1998 09:40:04 +0000
(09:40 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 4 Aug 1998 09:40:04 +0000
(09:40 +0000)
lisp/info.el
patch
|
blob
|
history
diff --git
a/lisp/info.el
b/lisp/info.el
index 8fede6181127d8ea323c51adb205a5332a4517c5..f1278a988b0905de516e76511c12d69cd9dcc2b0 100644
(file)
--- a/
lisp/info.el
+++ b/
lisp/info.el
@@
-488,7
+488,8
@@
In standalone mode, \\<Info-mode-map>\\[Info-exit] exits Emacs itself."
(goto-char guesspos)
;; Else we may have a node, which we search for:
- (goto-char (max (point-min) (- guesspos 1000)))
+ (goto-char (max (point-min)
+ (- (byte-to-position guesspos) 1000)))
;; Now search from our advised position
;; (or from beg of buffer)
;; to find the actual node.